<?php

use App\Adapter\Book;
use App\Adapter\EBookAdapter;
use App\Adapter\Kindle;

require './vendor/autoload.php';

$book = new Book();

$book->open();

$book->turnPage();

echo $book->getPage() . "\r\n";

$kindle = new Kindle();

$ebook = new EBookAdapter($kindle);

$ebook->open();

$ebook->turnPage();

echo $ebook->getPage() . "\r\n";

